package springIOC.IOC_XML.beans;

//@Component("beanInfo")
public class BeanInfo {
    private int id;
    private String describe;

    public BeanInfo(){

    }

    public BeanInfo(int id,String desc){
        this.id=id;
        this.describe=desc;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    @Override
    public String toString() {
        return "BeanInfo{" +
                "id=" + id +
                ", describe='" + describe + '\'' +
                '}';
    }
}
